cmake_minimum_required(VERSION 3.31.6)
project(gtest)

set(CMAKE_CXX_STANDARD 14)

add_subdirectory(lib)
include_directories(googletest/include googletest gmock/include gmock)

add_executable(test main.cpp
        ../other/processes_running/main.cpp
        ../other/processes_running/include/func.h
        ../other/processes_running/src/func.cpp
        ../other/main.cpp
        ../heima/01_project/project.cpp
        ../heima/02_project/worker_manager.cpp
        ../heima/02_project/worker_manager.h
        "../heima/02_project/employee_management_system.cpp")
add_executable(test2 main2.cpp)
add_executable(test3 main3.cpp)
target_link_libraries(test gtest gtest_main)
target_link_libraries(test2 gtest gtest_main)
target_link_libraries(test3 gtest gmock gtest_main)

